﻿@model MvcMovie.Models.User

@{
    ViewBag.Title = "Login";
}

<h2>Login</h2>

@using (@Html.BeginForm("Entrar", "Authenticator"))
{
    <fieldset>
        <legend><h4>>Login in the MovieApp</h4></legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Username)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Username)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.password)
        </div>
        <div class="editor-field">
            @Html.PasswordFor(model => model.password)
        </div>

        <input type="submit" value="Entrar" />
    
    </fieldset>

}

@Html.ActionLink("Sign In", "Create")
